import Index

#退出操作
def outView(window_gp):
    while True:
        event, values = window_gp.read()  # 窗口的读取，有两个返回值(1.事件  2.值)
        if event == None:  # 窗口关闭事件
            break
        if event == '-return-':
            window_gp.close()
            Index.main()
